package com.leyou.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.dto.UserDTO;
import com.leyou.entity.User;

public interface UserService extends IService<User> {
    Boolean isUserExists(String data, Integer type);

    void sendMessage(String phone);

    void registerUser(User user, String code);

    UserDTO queryUserByNamePassword(String username, String password);
}